package cn.stylefeng.guns.modular.yingbao.mapper;

import  cn.stylefeng.guns.modular.yingbao.entity.UserBank;
import  cn.stylefeng.guns.modular.yingbao.model.params.UserBankParam;
import  cn.stylefeng.guns.modular.yingbao.model.result.UserBankResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 开户行列表 Mapper 接口
 * </p>
 *
 * @author zs
 * @since 2019-12-12
 */
@Service
public interface UserBankMapper extends BaseMapper<UserBank> {

    /**
     * 获取列表
     *
     * @author zs
     * @Date 2019-12-12
     */
    List<UserBankResult> customList(@Param("paramCondition") UserBankParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zs
     * @Date 2019-12-12
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") UserBankParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zs
     * @Date 2019-12-12
     */
    Page<UserBankResult> customPageList(@Param("page") Page page, @Param("paramCondition") UserBankParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author zs
     * @Date 2019-12-12
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") UserBankParam paramCondition);

}
